
#ifndef UI_SETTING_MSG_H
#define UI_SETTING_MSG_H

#include "sys_port.h"
#include "page_base.h"
#include "page_manager.h"
#include "list.h"

typedef struct 
{
    lv_coord_t x;
    lv_coord_t y;

    lv_obj_t * bg;
    lv_obj_t * point;
    
    lv_obj_t * lab;
    lv_obj_t * time;
    lv_obj_t * txt;

} ui_msg_t;

typedef struct 
{
    int id;
    ui_msg_t ui;
    slist_t 	e_tail;
} ui_msg_l_t;

typedef struct 
{
    lv_obj_t * title;
    lv_obj_t * img_bg;
    lv_obj_t * img_esc;

    lv_obj_t * clean_bg;
    lv_obj_t * clean_txt;

    lv_obj_t * p_list;

    slist_t *  e_head;

    int len ;

} ui_setting_msg_t;

int setting_msg_update_noread(void);

page_vtable_t* lv_page_setting_msg_create(void);

#endif
